package com.mashuai.utils.toolkit.core.msExcel.dto;

import com.mashuai.utils.toolkit.achieve.MsExegesis;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 * @ClassName: MsImportDto
 * @Description: 导入配置项
 */
@MsExegesis("导入配置项")
@Data
public class MsImportDto implements Serializable {
    @MsExegesis("值不可为空，serviceName@methodName")
    private String targetParam;
    @MsExegesis("指定从第一行开始读")
    private Integer headRow;
    @MsExegesis("导入的备注，可以是任意消息，原封不懂传给用户")
    private String  remark;
    public MsImportDto(String targetParam, Integer headRow) {
        this.targetParam = targetParam;
        this.headRow = headRow;
    }
    public MsImportDto(String targetParam, Integer headRow,String remark) {
        this.targetParam = targetParam;
        this.headRow = headRow;
        this.remark = remark;
    }
}
